package cn.thinkjoy.LawDataForExcel.dao;

import cn.thinkjoy.LawDataForExcel.bean.ApunishNoticeInfo;
import cn.thinkjoy.LawDataForExcel.bean.Databean;
import cn.thinkjoy.LawDataForExcel.bean.PunishTypeInfo;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;

/**
 * Created by thinkjoy on 2017/6/21.
 */
public interface ApunishNoticeInfoDao extends BaseMapper<ApunishNoticeInfo>{
    int saveApunishNoticeInfo(List<ApunishNoticeInfo> apunishNoticeInfos);
    List<ApunishNoticeInfo> findNoticesByDate(String effectDate);
    List<PunishTypeInfo> findPunishReasonByDate(String effectDate);
    int updateStatus(List<ApunishNoticeInfo> apunishNoticeInfos);
}
